package com.sprucetec.live.service;

import com.sprucetec.live.entity.LiveVideoServerDetail;
import java.util.List;

/**
 * @author chenkai
 * @date 2020/4/1 10:59 上午
 * @description:
 */
public interface LiveVideoServerDetailService {

    /**
     * 批量插入服务器
     * @param list
     * @return
     */
    void batchInsert(List<LiveVideoServerDetail> list);

    /**
     * 删除服务器
     * @param liveVideoId
     */
    void deleteServerDetail(Long liveVideoId);

    /**
     * 根据视频id, 获取服务器
      * @param liveVideoId
     * @return
     */
    List<LiveVideoServerDetail> getServerDetailList(Long liveVideoId);
}
